package com.syni.mdd.sjb.community.base.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.syni.mdd.sjb.common.component.mybatis.community.entity.SjbQywxCompany;

import java.util.List;

/**
 * <p>
 * 已安装应用的企业表 服务类
 * </p>
 *
 * @author lcc
 * @since 2021-02-23
 */
public interface SjbQywxCompanyService extends IService<SjbQywxCompany> {

    SjbQywxCompany getByCompanyId(String corpid);

    void syncAuthCode();

    SjbQywxCompany addAuthCode(String authCode);

    void syncEnterpriseMembers(List<SjbQywxCompany> sjbQywxCompanies);

    void cancelAuth(String authCorpId);
}
